<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>Ajax入门案例</h1>
		<script src="../js/axios.js"></script>
		
		<script>
		axios.get("http://localhost:8090/findAll")
		     .then(function(Promise){
				 console.log(Promise.data)
			 })
			 axios.get("http://localhost:8090/findAll")
			 .then(Promise =>{
				 console.log(Promise.data)
			 })
			
		</script>
		
	</body>
</html>
